package io.renren.modules.generator.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.modules.generator.dao.BillOfDocumentImgDao;
import io.renren.modules.generator.entity.BillOfDocumentImgEntity;
import io.renren.modules.generator.service.BillOfDocumentImgService;



@Service("billOfDocumentImgService")
public class BillOfDocumentImgServiceImpl implements BillOfDocumentImgService {
	@Autowired
	private BillOfDocumentImgDao billOfDocumentImgDao;
	
	@Override
	public BillOfDocumentImgEntity queryObject(Integer id){
		return billOfDocumentImgDao.queryObject(id);
	}
	
	@Override
	public List<BillOfDocumentImgEntity> queryList(Map<String, Object> map){
		return billOfDocumentImgDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return billOfDocumentImgDao.queryTotal(map);
	}
	
	@Override
	public void save(BillOfDocumentImgEntity billOfDocumentImg){
		billOfDocumentImgDao.save(billOfDocumentImg);
	}
	
	@Override
	public void update(BillOfDocumentImgEntity billOfDocumentImg){
		billOfDocumentImgDao.update(billOfDocumentImg);
	}
	
	@Override
	public void delete(Integer id){
		billOfDocumentImgDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		billOfDocumentImgDao.deleteBatch(ids);
	}
	
}
